package com.yunzheng.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author Sun
 * @date 2020-07-27 01:29
 */
@Data
public class FilePostDTO {

	@NotBlank(message = "文档标题不能为空")
	@Length(min = 2, max = 50, message = "文章标题不能超过50字")
	private String fileTitle;

	private String fileContent;

	private String projectId;
}
